//列表
const list = (params = {}) => uni.$u.http.get('/system/dict/data/list', {params: params});

//根据字典类型查询字典数据信息
const getDicts = (params = {}) => uni.$u.http.get('/system/dict/data/type/' + params);

export const dict = {
	list,
	getDicts
}